<?php
class Navigation_Form_Menu extends Zend_Form {

	public function init() {
		$this->setMethod('post');
		
		$name = $this->createElement('text', 'name');
		$name->setLabel(_('Name:'));
		$name->addFilters(array('StringTrim','StripTags'));
		$name->setAttrib('size', '32');
		$name->setAttrib('maxlength', '255');
		
		$submit = $this->createElement('submit', 'submit');
		$submit->setLabel(_('Save'));
		
		$this->addElements(array($name, $submit));
	}
}